package com.zyx.thread1;

public class Test01 {
    public static void main(String[] args) {
        Bank bank = new Bank();
        Client u1 = new Client("张三", bank, 7);
        Client u2 = new Client("李四", bank, 20);
        Client u3 = new Client("王五", bank, 15);
        Client1 u4 = new Client1("Tom", bank);
        Client1 u5 = new Client1("toty", bank);
        u1.start();
        u2.start();
        u3.start();
        u4.start();
        u5.start();
    }
}
